﻿// //  ********************************************************************************
// //  Copyright (C) 2016 Sebastian Kenter. All rights reserved.
// // 
// //  Name    : PhotonServerProject | PhotonServerCommon | ErrorCodes.cs
// //  Created : 2016 - 03 - 21 10:04
// //  Modified: 2016 - 04 - 18 09:38
// //  ********************************************************************************

using System.ComponentModel;

namespace PhotonServerCommon.Enums
{
    public enum ErrorCodes
    {
        [Description("Operation successfully processed.")] Ok,
        [Description("Telegram could not be handled by the server system.")] TelegramNotHandled,
        [Description("Account already exists.")] AccountExists,
        [Description("Account registered. Welcome!")] AccountRegistered,
        [Description("Maximum number of failed login tries reached!")] AccountMaxLoginTriesReached,
        [Description("Account is banned!")] AccountBanned,
        [Description("Account logged in - welcome back!")] AccountLoggedIn,
        [Description("Invalid credentials provided!")] InvalidCredentials,
        [Description("Account could not be found")] AccountNotFound,
        [Description("Account already logged in")] AccountAlreadyLoggedIn,
        [Description("Account is deleted now")] AccountDeleted,
        [Description("Account logged out - see you soon")] AccountLoggedOut,
        [Description("Account is not logged in!")] AccountNotLoggedIn
    }
}
